.class public final Llt/farmis/libraries/apps_promo/views/CustomPlayerUI$initViews$1;
.super Ljava/lang/Object;
.source "CustomPlayerUI.kt"

# interfaces
.implements Lcom/pierfrancescosoffritti/youtubeplayer/player/YouTubePlayerListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;->initViews(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;


# direct methods
.method constructor <init>(Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 25
    iput-object p1, p0, Llt/farmis/libraries/apps_promo/views/CustomPlayerUI$initViews$1;->this$0:Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onApiChange()V
    .locals 0

    return-void
.end method

.method public onCurrentSecond(F)V
    .locals 0

    return-void
.end method

.method public onError(I)V
    .locals 0

    return-void
.end method

.method public onPlaybackQualityChange(Ljava/lang/String;)V
    .locals 1

    const-string v0, "playbackQuality"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    return-void
.end method

.method public onPlaybackRateChange(Ljava/lang/String;)V
    .locals 1

    const-string v0, "playbackRate"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    return-void
.end method

.method public onReady()V
    .locals 0

    return-void
.end method

.method public onStateChange(I)V
    .locals 1

    if-eqz p1, :cond_1

    const/4 v0, 0x1

    if-eq p1, v0, :cond_0

    goto :goto_0

    .line 59
    :cond_0
    iget-object v0, p0, Llt/farmis/libraries/apps_promo/views/CustomPlayerUI$initViews$1;->this$0:Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;

    invoke-virtual {v0}, Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;->getOnStart()Lkotlin/jvm/functions/Function0;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-interface {v0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lkotlin/Unit;

    goto :goto_0

    .line 56
    :cond_1
    iget-object v0, p0, Llt/farmis/libraries/apps_promo/views/CustomPlayerUI$initViews$1;->this$0:Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;

    invoke-virtual {v0}, Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;->getYTPlayer()Lcom/pierfrancescosoffritti/youtubeplayer/player/YouTubePlayer;

    move-result-object v0

    invoke-interface {v0}, Lcom/pierfrancescosoffritti/youtubeplayer/player/YouTubePlayer;->play()V

    :cond_2
    :goto_0
    if-nez p1, :cond_3

    .line 63
    iget-object p1, p0, Llt/farmis/libraries/apps_promo/views/CustomPlayerUI$initViews$1;->this$0:Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;

    invoke-virtual {p1}, Llt/farmis/libraries/apps_promo/views/CustomPlayerUI;->getYTPlayer()Lcom/pierfrancescosoffritti/youtubeplayer/player/YouTubePlayer;

    move-result-object p1

    invoke-interface {p1}, Lcom/pierfrancescosoffritti/youtubeplayer/player/YouTubePlayer;->play()V

    :cond_3
    return-void
.end method

.method public onVideoDuration(F)V
    .locals 0

    return-void
.end method

.method public onVideoId(Ljava/lang/String;)V
    .locals 1

    const-string v0, "videoId"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    return-void
.end method

.method public onVideoLoadedFraction(F)V
    .locals 0

    return-void
.end method
